package code15.io;

import java.io.Serializable;

public class Player implements Serializable {

	private int lv;
	private String name;
	private int str;
	private int intelligence;
	private int vit;
	private int dex;
	private int exp;
	public Player(int lv, String name, int str, int intelligence, int vit,
			int dex, int exp) {
		super();
		this.lv = lv;
		this.name = name;
		this.str = str;
		this.intelligence = intelligence;
		this.vit = vit;
		this.dex = dex;
		this.exp = exp;
	}
	public int getLv() {
		return lv;
	}
	public void setLv(int lv) {
		this.lv = lv;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getStr() {
		return str;
	}
	public void setStr(int str) {
		this.str = str;
	}
	public int getIntelligence() {
		return intelligence;
	}
	public void setIntelligence(int intelligence) {
		this.intelligence = intelligence;
	}
	public int getVit() {
		return vit;
	}
	public void setVit(int vit) {
		this.vit = vit;
	}
	public int getDex() {
		return dex;
	}
	public void setDex(int dex) {
		this.dex = dex;
	}
	public int getExp() {
		return exp;
	}
	public void setExp(int exp) {
		this.exp = exp;
	}
	@Override
	public String toString() {
		return "lv: "+lv+"\n"
				+ "name: "+name+"\n"
				+ "str: "+str+"\n"
				+ "int: "+intelligence+"\n"
				+ "vit: "+vit+"\n"
				+ "dex: "+dex+"\n"
				+ "exp: "+exp+"\n"
				;
	}
}
